//
//  YXDownloaderManager.h
//  MockProject
//
//  Created by FanYu on 30/8/2016.
//  Copyright © 2016 niuzhaowang. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface YXDownloaderManager : NSObject

+ (void)getTaskSizeByURL:(NSString *)url success:(void (^)(id))success failure:(void (^)(id ))failure;

+ (NSURLSessionDownloadTask *)downloadTaskWithUID:(NSInteger)uid updateProgress:(void (^)(NSProgress *))updateProgress updateSpeed:(void (^)(id))netSpeed downloadFinished:(void (^)(id))done failure:(void (^)(NSError *))failure filePath:(void (^)(id))filePath;

@end
